package com.by.bean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author HY
 * @version 1.0
 * @description
 * @date 2025/2/18
 * @since JDK21
 */
@Data
@ApiModel("员工")
public class Employee {
    @ApiModelProperty(value = "员工ID")
    int id;
    @ApiModelProperty(value = "员工姓名")
    String name;
    @ApiModelProperty(value = "员工手机号")
    int mobile;
    @ApiModelProperty(value = "员工部门ID")
    int departmentId;
    @ApiModelProperty(value = "员工职位")
    String position;
    @ApiModelProperty(value = "员工账号")
    String username;
    @ApiModelProperty(value = "员工密码")
    String password;
    @ApiModelProperty(value = "员工类型")
    int type;
    @ApiModelProperty(value = "员工目标业绩")
    double achievement;
    @ApiModelProperty(value = "已完成业绩")
    double upAchievement;
    @ApiModelProperty(value = "完成率")
    double rate;
    @ApiModelProperty(value = "基础工资")
    double baseSalary;
    @ApiModelProperty(value = "员工角色Id")
    int roleId;
    @ApiModelProperty(value = "部门名称")
    String departmentName;
    @ApiModelProperty(value = "角色名称")
    String roleName;
    @ApiModelProperty(value = "员工状态")
    int status;
    @ApiModelProperty(value = "员工生日")
    Date birthday;
    @ApiModelProperty(value = "员工产品参数支持")
    int productParameter;
    @ApiModelProperty(value = "员工入职时间")
    Date createTime;
    @ApiModelProperty(value = "员工是否删除")
    int isdel;
}
